
// 洗消记录功能api 接口

import { Get, Put, Post } from '@/utils/request'

//分页查询洗消记录
export function getDeconRecord(data) {
    return Get("part/listByPage", data)
}

// 新增洗消记录  /decon-record
export function createDeconRecord(data) {
    return Post('part/addPart', data)
}

// 结束洗消记录
export function endDecon(data) {
    return Post('decon-record/end?id=' + data.id)
}

// 消洗记录详情  /decon-record/detail
export function deconDetail(data) {
    return Get('decon-record/detail', data)
}

// 流程下拉 /flow/list
export function flowList(data) {
    return Get('flow/list', data)
}

// 设备下拉 /basic-config/equipment/list
export function equipmentList(data) {
    return Get('basic-config/equipment/list', data)
}